package com.chulianyuang.pojo;

import java.util.Date;
import java.util.List;

public class ClaimVoucher {
    private Integer id;
    private String next_deal_sn;
    private String create_sn;
    private Date create_time;
    private String event;
    private Double total_account;
    private String status;
    private Date modify_time;

    // 新增的字段（用于前端显示）
    private String createEmployeeName;    // 创建人姓名
    private String nextDealEmployeeName;  // 下一处理人姓名
    private String departmentName;        // 部门名称
    private String positionName;          // 职位名称
//    关联创建人
    private Employee CEmployee;
//    关联下一个审批人
    private Employee NEmployee;
//    关联明细表
    private List<ClaimVoucherDetail> detailList;
//    关联审批结果表
    private List<CheckResult> resultList;



    public ClaimVoucher() {
    }

    public ClaimVoucher(Integer id, String next_deal_sn, String create_sn, Date create_time, String event, Double total_account, String status, Date modify_time, Employee CEmployee, Employee NEmployee) {
        this.id = id;
        this.next_deal_sn = next_deal_sn;
        this.create_sn = create_sn;
        this.create_time = create_time;
        this.event = event;
        this.total_account = total_account;
        this.status = status;
        this.modify_time = modify_time;
        this.CEmployee = CEmployee;
        this.NEmployee = NEmployee;
    }

    public String getCreateEmployeeName() {
        return createEmployeeName;
    }

    public void setCreateEmployeeName(String createEmployeeName) {
        this.createEmployeeName = createEmployeeName;
    }

    public String getNextDealEmployeeName() {
        return nextDealEmployeeName;
    }

    public void setNextDealEmployeeName(String nextDealEmployeeName) {
        this.nextDealEmployeeName = nextDealEmployeeName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public List<CheckResult> getResultList() {
        return resultList;
    }

    public void setResultList(List<CheckResult> resultList) {
        this.resultList = resultList;
    }

    public List<ClaimVoucherDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<ClaimVoucherDetail> detailList) {
        this.detailList = detailList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNext_deal_sn() {
        return next_deal_sn;
    }

    public void setNext_deal_sn(String next_deal_sn) {
        this.next_deal_sn = next_deal_sn;
    }

    public String getCreate_sn() {
        return create_sn;
    }

    public void setCreate_sn(String create_sn) {
        this.create_sn = create_sn;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public Double getTotal_account() {
        return total_account;
    }

    public void setTotal_account(Double total_account) {
        this.total_account = total_account;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getModify_time() {
        return modify_time;
    }

    public void setModify_time(Date modify_time) {
        this.modify_time = modify_time;
    }

    public Employee getCEmployee() {
        return CEmployee;
    }

    public void setCEmployee(Employee CEmployee) {
        this.CEmployee = CEmployee;
    }

    public Employee getNEmployee() {
        return NEmployee;
    }

    public void setNEmployee(Employee NEmployee) {
        this.NEmployee = NEmployee;
    }

    @Override
    public String toString() {
        return "ClaimVoucher{" +
                "id=" + id +
                ", next_deal_sn='" + next_deal_sn + '\'' +
                ", create_sn='" + create_sn + '\'' +
                ", create_time=" + create_time +
                ", event='" + event + '\'' +
                ", total_account=" + total_account +
                ", status='" + status + '\'' +
                ", modify_time=" + modify_time +
                ", createEmployeeName='" + createEmployeeName + '\'' +
                ", nextDealEmployeeName='" + nextDealEmployeeName + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", positionName='" + positionName + '\'' +
                ", CEmployee=" + CEmployee +
                ", NEmployee=" + NEmployee +
                ", detailList=" + detailList +
                ", resultList=" + resultList +
                '}';
    }
}
